-record(callback, {delegate = undefined,
		   postback = undefined}).

-record(ceditor, {?ELEMENT_BASE(element_ceditor),
		  callback = #callback{},
		  highlighting = true,
		  editor_class = "",
		  output_class = same}).

-record(toplevel, {?ELEMENT_BASE(element_toplevel),
		   callback = #callback{},
		   highlighting = true,
		   input_class = "",
		   output_class = same}).

-record(cbrowser, {?ELEMENT_BASE(element_cbrowser),
		   callback = #callback{},
		   member_id}).
-record(users, {?ELEMENT_BASE(element_users),
		callback = #callback{},
		login = true,
		login_id = undefined,
		register = true,
		register_id = undefined
	       }).

get_delegate(R) ->
    R#callback.delegate.
get_postback(R) ->
    R#callback.postback.
